/*
 * 
 * Copyright 2010 David H Pollack
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License. 
 * 
 * 
 */

package com.dhpollack.rotogss.data;

import java.util.Date;

import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;

/**
 * @author davidpl
 *
 */
@PersistenceCapable
public class RotoGSSTeams {
	
    @PrimaryKey
    @Persistent
    private Key key;

    @Persistent
    private Key teamKey;

    @Persistent
    private RotoGSSUsers googleuserkey;
    
    @Persistent
    private String googleGameFolder;
    
    @Persistent
    private String googleLeagueSpreadsheet;
    
    @Persistent
    private String googleTableId;
        
    @Persistent
    private Date lastUpdateTimestamp;
        
    @Persistent
    private Boolean isTracking;

	public Key getKey() {
		return key;
	}

	public void setKey(Key key) {
		this.key = key;
	}

	public Key getTeamKey() {
		return teamKey;
	}

	public void setTeamKey(Key teamKey) {
		this.teamKey = teamKey;
	}

	public String getGoogleGameFolder() {
		return googleGameFolder;
	}

	public void setGoogleGameFolder(String googleGameFolder) {
		this.googleGameFolder = googleGameFolder;
	}

	public String getGoogleLeagueSpreadsheet() {
		return googleLeagueSpreadsheet;
	}

	public void setGoogleLeagueSpreadsheet(String googleLeagueSpreadsheet) {
		this.googleLeagueSpreadsheet = googleLeagueSpreadsheet;
	}

	public String getGoogleTableId() {
		return googleTableId;
	}

	public void setGoogleTableId(String googleTableId) {
		this.googleTableId = googleTableId;
	}

	public Date getLastUpdateTimestamp() {
		return lastUpdateTimestamp;
	}

	public void setLastUpdateTimestamp(Date lastUpdateTimestamp) {
		this.lastUpdateTimestamp = lastUpdateTimestamp;
	}

	public Boolean getIsTracking() {
		return isTracking;
	}

	public void setIsTracking(Boolean tracked) {
		this.isTracking = tracked;
	}

	public RotoGSSUsers getGoogleuserkey() {
		return googleuserkey;
	}
    
    

}
